var mysql = require('mysql');

var pool = mysql.createPool({
	
	host : "54.178.215.219",
	user : "istock",
	password : "!Q2w3e??",
	database : "uds"
		
});


var getConnection = function(callback) {
    pool.getConnection(function(err, connection) {
        callback(err, connection);
    });
};

module.exports.getConnection = getConnection;
